package com.cg.springSecurity.exception;

import lombok.Data;
import lombok.NoArgsConstructor;


@Data
@NoArgsConstructor
public class UsernameNotFoundException extends RuntimeException{
    private Integer code=400;
    private String message="用户名不存在!";

    public UsernameNotFoundException(String message) {
        super(message);
        this.message = message;
    }
}
